package com.woody.aggregate;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Id查询入参对象
 */
@Data
public class IdDTO implements Serializable {

    private static final long serialVersionUID = -2631015216751572336L;

    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;

}
